package com.ems.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Score {

    private Integer stuid;
    private String name;
    private List<score> score;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class score{
        private Double score;
        private Integer ranking;
        private String subject;
        private Integer eid;
        private List<questions> questions;

        @Data
        @AllArgsConstructor
        @NoArgsConstructor
        public static class questions{
            private String questionType;
            //学生得分
            private Integer stuScore;
            //本题满分
            private Integer score;
            private Integer sort;
        }

    }
}
